import unittest

from selenium import webdriver


class UnitBase(unittest.TestCase):
    """分离的测试夹具"""
    @classmethod
    def setUpClass(cls) -> None:
        cls.driver = webdriver.Chrome()
        cls.driver.get("https://www.baidu.com")
        cls.driver.maximize_window()

    def tearDownClass(cls) -> None:
        cls.driver.quit()




